Total Complexity | 21 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 143 |
Lines of code | 112 |
Logical lines of code | 56 |
Comment lines | 4 |
Methods | 10 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
woocommerce_before_add_to_cart_button() | 53 | 3 | 25 | |
woocommerce_order_item_display_meta_key() | 58 | 3 | 18 | |
woocommerce_email_order_meta() | 58 | 3 | 16 | |
woocommerce_get_item_data() | 59 | 2 | 16 | |
setup() | 68 | 3 | 7 | |
woocommerce_add_cart_item_data() | 66 | 2 | 8 | |
woocommerce_checkout_create_order_line_item() | 65 | 2 | 10 | |
__construct() | 100 | 1 | 2 | |
init() | 71 | 1 | 7 | |
init_cart_field() | 83 | 1 | 3 |